package cn.xs.order.entity;

import java.util.List;

import cn.xs.user.entity.User;

public class Car {

	private String id;			//id
	private double sumprice;	//购物车总价
	private int carNumber;		//购物车项数目
	private List<CarItem> items;//购物车项
	private User user;			//拥有者

	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public double getSumprice() {
		return sumprice;
	}
	public void setSumprice(double sumprice) {
		this.sumprice = sumprice;
	}
	public int getCarNumber() {
		return carNumber;
	}
	public void setCarNumber(int carNumber) {
		this.carNumber = carNumber;
	}
	public List<CarItem> getItems() {
		return items;
	}
	public void setItems(List<CarItem> items) {
		this.items = items;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
}
